package com.bluefoxyu.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

@Builder
@Data
public class StudentCourseVO {

    @Schema(description = "学生id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "学生姓名")
    private String name;

    @Schema(description = "学号")
    private String studentId;

    @Schema(description = "课程名称")
    private String courseName;

    @Schema(description = "任课教师工号")
    private Integer teacherId;

    @Schema(description = "教师姓名")
    private String teacherName;

    @Schema(description = "教师职称")
    private String jobTitle;

    @Schema(description = "学分数")
    private BigDecimal credits;

    @Schema(description = "成绩（允许小数，NULL表示未录入）")
    private BigDecimal grade;


}
